Optimal. Leaf size=47 \[ \frac {2 A x}{3 a^2 \sqrt {a+b x^2}}+\frac {x \left (A+B x^2\right )}{3 a \left (a+b x^2\right )^{3/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 47, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 19, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.105, Rules used = {386, 197}
\begin {gather*} \frac {2 A x}{3 a^2 \sqrt {a+b x^2}}+\frac {x \left (A+B x^2\right )}{3 a \left (a+b x^2\right )^{3/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 197
Rule 386
Rubi steps
\begin {align*} \int \frac {A+B x^2}{\left (a+b x^2\right )^{5/2}} \, dx &=\frac {x \left (A+B x^2\right )}{3 a \left (a+b x^2\right )^{3/2}}+\frac {(2 A) \int \frac {1}{\left (a+b x^2\right )^{3/2}} \, dx}{3 a}\\ &=\frac {2 A x}{3 a^2 \sqrt {a+b x^2}}+\frac {x \left (A+B x^2\right )}{3 a \left (a+b x^2\right )^{3/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.08, size = 37, normalized size = 0.79 \begin {gather*} \frac {x \left (3 a A+2 A b x^2+a B x^2\right )}{3 a^2 \left (a+b x^2\right )^{3/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(89\) vs.
\(2(39)=78\).
time = 0.08, size = 90, normalized size = 1.91
method | result | size |
gosper | \(\frac {x \left (2 A b \,x^{2}+B a \,x^{2}+3 A a \right )}{3 \left (b \,x^{2}+a \right )^{\frac {3}{2}} a^{2}}\) | \(34\) |
trager | \(\frac {x \left (2 A b \,x^{2}+B a \,x^{2}+3 A a \right )}{3 \left (b \,x^{2}+a \right )^{\frac {3}{2}} a^{2}}\) | \(34\) |
default | \(B \left (-\frac {x}{2 b \left (b \,x^{2}+a \right )^{\frac {3}{2}}}+\frac {a \left (\frac {x}{3 a \left (b \,x^{2}+a \right )^{\frac {3}{2}}}+\frac {2 x}{3 a^{2} \sqrt {b \,x^{2}+a}}\right )}{2 b}\right )+A \left (\frac {x}{3 a \left (b \,x^{2}+a \right )^{\frac {3}{2}}}+\frac {2 x}{3 a^{2} \sqrt {b \,x^{2}+a}}\right )\) | \(90\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.29, size = 68, normalized size = 1.45 \begin {gather*} \frac {2 \, A x}{3 \, \sqrt {b x^{2} + a} a^{2}} + \frac {A x}{3 \, {\left (b x^{2} + a\right )}^{\frac {3}{2}} a} - \frac {B x}{3 \, {\left (b x^{2} + a\right )}^{\frac {3}{2}} b} + \frac {B x}{3 \, \sqrt {b x^{2} + a} a b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 1.66, size = 54, normalized size = 1.15 \begin {gather*} \frac {{\left ({\left (B a + 2 \, A b\right )} x^{3} + 3 \, A a x\right )} \sqrt {b x^{2} + a}}{3 \, {\left (a^{2} b^{2} x^{4} + 2 \, a^{3} b x^{2} + a^{4}\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] Leaf count of result is larger than twice the leaf count of optimal. 144 vs.
\(2 (41) = 82\).
time = 4.36, size = 144, normalized size = 3.06 \begin {gather*} A \left (\frac {3 a x}{3 a^{\frac {7}{2}} \sqrt {1 + \frac {b x^{2}}{a}} + 3 a^{\frac {5}{2}} b x^{2} \sqrt {1 + \frac {b x^{2}}{a}}} + \frac {2 b x^{3}}{3 a^{\frac {7}{2}} \sqrt {1 + \frac {b x^{2}}{a}} + 3 a^{\frac {5}{2}} b x^{2} \sqrt {1 + \frac {b x^{2}}{a}}}\right ) + \frac {B x^{3}}{3 a^{\frac {5}{2}} \sqrt {1 + \frac {b x^{2}}{a}} + 3 a^{\frac {3}{2}} b x^{2} \sqrt {1 + \frac {b x^{2}}{a}}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 1.00, size = 40, normalized size = 0.85 \begin {gather*} \frac {x {\left (\frac {3 \, A}{a} + \frac {{\left (B a b + 2 \, A b^{2}\right )} x^{2}}{a^{2} b}\right )}}{3 \, {\left (b x^{2} + a\right )}^{\frac {3}{2}}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.28, size = 33, normalized size = 0.70 \begin {gather*} \frac {3\,A\,a\,x+2\,A\,b\,x^3+B\,a\,x^3}{3\,a^2\,{\left (b\,x^2+a\right )}^{3/2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________